package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author: wufeng
 * @date: 2018/9/17 10:34
 * @desrcption: 复制应用
 */
@Getter
@Setter
@ToString
public class ApplicationCopyDTO extends BaseDTO {
    private static final long serialVersionUID = 3462986643674067339L;

    /**
     * 新建的应用id
     */
    @NotNull(message = "{dto.msg.addBatch.appId.NotNull}")
    private Long appId;

    @Getter(onMethod_ = {@QueryIgnore})
    private Long menuId;

    private Integer del;

    public ApplicationCopyDTO(){
        del = 0;
    }
}
